TARGET = ev_main

CC = gcc
CFLAGS = -g
OBJS = ev_main.o ev_dispatcher.o ev_event.o ev_signal.o ev_log.o ev_util.o\
	ev_epoll.o


all: $(TARGET)


%.o : %.c
	$(CC) $(CFLAGS) -c $< -o $@

$(TARGET): $(OBJS)
	$(CC) $(CFLAGS) $^ -o $@

.PHONY: clean

clean:
	rm -rf $(OBJS) $(TARGET)